package com.example.canteen.dao;

import com.example.canteen.domain.Admin;

import java.util.List;

public interface AdminDao {
    public Admin findById(int id);
    public List<Admin> findAll();
    public int delete(int id);
    public void save(Admin admin);
    public int update(Admin admin);
    public Admin findByUsernameAndPassword(int id, String password);
}
